package com.wyg.aop;

import com.wyg.entity.User;
import org.springframework.stereotype.Component;

@Component
public class UserValidateImpl implements UserValidate{
    @Override
    public boolean validate(User user) {
        System.out.println("引入新的接口 ...");
        return user != null;
    }
}
